package com.gltqe.validate;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 非空校验
 *
 * @author gltqe
 * @date 2024/3/25 10:42
 */
@Target(value = {ElementType.PARAMETER,ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface NotEmpty {
    int[] groups();

    String filedName();

    String error();
}
